import { findBanner } from '@/api/home.js'
import { ref } from 'vue'
function userBanner() {
  const sliders = ref([])
  async function loadData() {
    const res = await findBanner()
    sliders.value = res.data.result
  }
  loadData()
  return {
    sliders
  }
}
export default userBanner
